﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataAchive.Model
{
    [Table("info")]
    public class AChiveInfo
    {
        private int? _id;
        [Key]
        [Column("id")]
        public int? ID { get { return _id; } set { _id = value; } }

        private string _classify;
        [Column("classify")]
        public string Classify { get { return _classify; } set { _classify = value; } }

        private double? _px;
        [Column("px")]
        public double? PX { get { return _px; } set { _px = value; } }

        private double? _py;
        [Column("py")]
        public double? PY { get { return _py; } set { _py = value; } }

        private double? _width;
        [Column("width")]
        public double? Width { get { return _width; } set { _width = value; } }

        private double? _height;
        [Column("height")]
        public double? Height { get { return _height; } set { _height = value; } }


        private int? _ngId;
        [Column("ngId")]
        public int? NG_Id { get { return _ngId; } set { _ngId = value; } }


        private string _creator;
        [Column("creator")]
        public string Creator { get { return _creator; } set { _creator = value; } }

        private string _celllocation;
        [Column("celllocation")]
        public string Cell_Location { get { return _celllocation; } set { _celllocation = value; } }
    }

}